Skip to content

Track application events#3509

Closed
devkiran wants to merge 17 commits intomainfrom
application-events
Closed

Track application events#3509
devkiran wants to merge 17 commits intomainfrom
application-events

Conversation

@devkiran
Copy link
Copy Markdown
Collaborator

No description provided.

- Implemented a new API endpoint for tracking application events, including rate limiting and bot detection.
- Added a username field to the partner profile form, with validation for length and allowed characters.
- Updated partner profile schema and database model to include a unique username.
- Introduced error handling for duplicate usernames during profile updates.
- Created a new Tinybird datasource for application events.
…ie management and updating input schema validation
…OrSlug, adding program ID resolution logic, and removing unused source parameter from schemas and event recording functions.
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Feb 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
dub Ready Ready Preview Feb 27, 2026 10:49am

Request Review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Feb 26, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch application-events

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

…prove ID generation

- Updated event names from "started" and "submitted" to "start" and "submit" across multiple files for consistency.
- Replaced the ID generation method from `createId` to `nanoid` for generating application IDs.
- Adjusted the application input schema to reflect the new event names.
…okie management

- Removed the ApplicationTrackingProvider component and integrated tracking directly into the ApplicationTracker component.
- Updated the application input schema to require pathname and adjusted related logic for event tracking.
- Simplified cookie management for application IDs and improved error handling in event recording.
- Enhanced the ApplyPage and ApplicationPage components to utilize the new ApplicationTracker for tracking events.
…nt for better clarity.

- Removed the pathname parameter from the trackApplicationEvent function, now deriving it directly from window.location.
- Added debug logging for successful event tracking.
- Integrated tracking of the application start event in the ProgramApplicationForm component using a ref to prevent multiple triggers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant